package com.ruoyi.project.bajiaostar.tUserAddress.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 用户收货地址对象 t_user_address
 * 
 * @author wangwu
 * @date 2024-03-04
 */
public class TUserAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 收货人 */
    @Excel(name = "收货人")
    private String consigneeUser;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phonenumber;

    /** 地址省编码 */
    @Excel(name = "地址省编码")
    private String addressProvince;

    /** 地址省名称 */
    @Excel(name = "地址省名称")
    private String addressProvinceName;

    /** 地址市编码 */
    @Excel(name = "地址市编码")
    private String addressCity;

    /** 地址市名称 */
    @Excel(name = "地址市名称")
    private String addressCityName;

    /** 地址县编码 */
    @Excel(name = "地址县编码")
    private String addressCounty;

    /** 地址县名称 */
    @Excel(name = "地址县名称")
    private String addressCountyName;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailAddress;

    /** 地址状态  0 正常  1 删除   */
    @Excel(name = "地址状态  0 正常  1 删除  ")
    private Integer addressFlag;

    /** 是否默认 0 非默认   1 默认 */
    @Excel(name = "是否默认 0 非默认   1 默认")
    private Integer addressDefaultFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setConsigneeUser(String consigneeUser) 
    {
        this.consigneeUser = consigneeUser;
    }

    public String getConsigneeUser() 
    {
        return consigneeUser;
    }
    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }
    public void setAddressProvince(String addressProvince) 
    {
        this.addressProvince = addressProvince;
    }

    public String getAddressProvince() 
    {
        return addressProvince;
    }
    public void setAddressProvinceName(String addressProvinceName) 
    {
        this.addressProvinceName = addressProvinceName;
    }

    public String getAddressProvinceName() 
    {
        return addressProvinceName;
    }
    public void setAddressCity(String addressCity) 
    {
        this.addressCity = addressCity;
    }

    public String getAddressCity() 
    {
        return addressCity;
    }
    public void setAddressCityName(String addressCityName) 
    {
        this.addressCityName = addressCityName;
    }

    public String getAddressCityName() 
    {
        return addressCityName;
    }
    public void setAddressCounty(String addressCounty) 
    {
        this.addressCounty = addressCounty;
    }

    public String getAddressCounty() 
    {
        return addressCounty;
    }
    public void setAddressCountyName(String addressCountyName) 
    {
        this.addressCountyName = addressCountyName;
    }

    public String getAddressCountyName() 
    {
        return addressCountyName;
    }
    public void setDetailAddress(String detailAddress) 
    {
        this.detailAddress = detailAddress;
    }

    public String getDetailAddress() 
    {
        return detailAddress;
    }
    public void setAddressFlag(Integer addressFlag) 
    {
        this.addressFlag = addressFlag;
    }

    public Integer getAddressFlag() 
    {
        return addressFlag;
    }
    public void setAddressDefaultFlag(Integer addressDefaultFlag) 
    {
        this.addressDefaultFlag = addressDefaultFlag;
    }

    public Integer getAddressDefaultFlag() 
    {
        return addressDefaultFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("consigneeUser", getConsigneeUser())
            .append("phonenumber", getPhonenumber())
            .append("addressProvince", getAddressProvince())
            .append("addressProvinceName", getAddressProvinceName())
            .append("addressCity", getAddressCity())
            .append("addressCityName", getAddressCityName())
            .append("addressCounty", getAddressCounty())
            .append("addressCountyName", getAddressCountyName())
            .append("detailAddress", getDetailAddress())
            .append("addressFlag", getAddressFlag())
            .append("addressDefaultFlag", getAddressDefaultFlag())
            .toString();
    }
}
